package com.example.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @Author gaokaikai
 * @CreateDate 2023/3/14 17:12
 * @Version 1.0
 */
@RestController
public class TestInterceptorController {
    @RequestMapping("/block/test")
    public void blockMethod(){
        System.out.println("拦截");
    }

    @RequestMapping("/pass/test")
    public void passMethod(){
        System.out.println("通过222");
    }
}
